// 健康报告mock数据
const mockHealthData = {
  // 基本信息
  basicInfo: {
    currentDate: new Date().toLocaleDateString('zh-CN', {
      year: 'numeric',
      month: 'long',
      day: 'numeric'
    }),
    avatarUrl: 'https://picsum.photos/id/64/40/40'
  },

  // 健康评分
  healthScore: {
    score: 78,
    text: '良好',
    description: '您的整体健康状况良好，但存在一些需要注意的指标。通过改善睡眠和控制血压，您的健康评分可以进一步提高。'
  },

  // 健康风险
  healthRisks: [
    {
      id: 1,
      icon: 'fa fa-tint',
      title: '血压轻度偏高',
      description: '近一周血压持续略高于正常范围，需关注。',
      iconClass: 'risk-icon-warning',
      bgClass: 'risk-bg-warning'
    },
    {
      id: 2,
      icon: 'fa fa-bed',
      title: '睡眠不足',
      description: '连续5天睡眠时长低于推荐的7-8小时。',
      iconClass: 'risk-icon-warning',
      bgClass: 'risk-bg-warning'
    },
    {
      id: 3,
      icon: 'fa fa-check-circle',
      title: '其他指标正常',
      description: '心率、血糖、血氧等指标均在正常范围内。',
      iconClass: 'risk-icon-success',
      bgClass: 'risk-bg-success'
    }
  ],

  // 健康建议
  healthSuggestions: [
    {
      id: 1,
      icon: 'fa fa-heartbeat',
      title: '控制血压',
      description: '减少盐分摄入，增加有氧运动，保持情绪稳定。',
      iconClass: 'suggestion-icon-primary'
    },
    {
      id: 2,
      icon: 'fa fa-bed',
      title: '改善睡眠',
      description: '保持规律作息，睡前1小时避免使用电子设备，营造安静睡眠环境。',
      iconClass: 'suggestion-icon-primary'
    },
    {
      id: 3,
      icon: 'fa fa-cutlery',
      title: '饮食建议',
      description: '增加蔬果摄入，减少高脂高糖食物，保持饮食均衡。',
      iconClass: 'suggestion-icon-primary'
    },
    {
      id: 4,
      icon: 'fa fa-calendar-check-o',
      title: '定期监测',
      description: '建议未来一周每天监测血压变化，记录睡眠时长。',
      iconClass: 'suggestion-icon-primary'
    }
  ],

  // 健康指标配置
  healthMetricsConfig: {
    heartRate: {
      title: '心率',
      subtitle: '每分钟心跳次数',
      unit: 'bpm',
      icon: 'fa fa-heartbeat',
      iconClass: 'heart-rate',
      color: '#165DFF',
      normalRange: '60-100'
    },
    bloodPressure: {
      title: '血压',
      subtitle: '收缩压/舒张压',
      unit: 'mmHg',
      icon: 'fa fa-tint',
      iconClass: 'blood-pressure',
      color: ['#F87272', '#FB923C'],
      normalRange: '收缩压<130，舒张压<80'
    },
    bloodSugar: {
      title: '血糖',
      subtitle: '空腹测量值',
      unit: 'mmol/L',
      icon: 'fa fa-flask',
      iconClass: 'blood-sugar',
      color: '#36D399',
      normalRange: '3.9-6.1'
    },
    oxygenLevel: {
      title: '血氧',
      subtitle: '血液氧饱和度',
      unit: '%',
      icon: 'fa fa-moon-o',
      iconClass: 'oxygen-level',
      color: '#36D399',
      normalRange: '95-100'
    },
    sleep: {
      title: '睡眠',
      subtitle: '睡眠时长与质量',
      unit: '小时',
      icon: 'fa fa-bed',
      iconClass: 'sleep',
      color: '#FB923C',
      normalRange: '7-8'
    },
    steps: {
      title: '步数',
      subtitle: '每日行走步数',
      unit: '步',
      icon: 'fa fa-male',
      iconClass: 'steps',
      color: '#165DFF',
      normalRange: '8000-10000'
    }
  },

  // 健康指标数据
  healthMetrics: {
    heartRate: {
      average: 72,
      status: '正常范围',
      statusClass: 'status-success',
      statusIcon: 'fa fa-check-circle',
      info: '今日心率平均值为72bpm，处于正常范围（60-100bpm）。',
      recommendations: '您的心率处于正常范围，建议保持规律运动，维持健康饮食，避免过度劳累和情绪激动。',
      data: {
        labels: ['00:00', '03:00', '06:00', '09:00', '12:00', '15:00', '18:00', '21:00'],
        values: [65, 62, 68, 75, 73, 70, 73, 72]
      }
    },
    bloodPressure: {
      average: '135/85',
      status: '轻度偏高',
      statusClass: 'status-warning',
      statusIcon: 'fa fa-exclamation-circle',
      info: '今日血压平均值为135/85mmHg，略高于正常范围。',
      recommendations: '您的血压轻度偏高，建议减少盐分摄入，增加有氧运动，控制体重，保持良好睡眠，避免精神紧张。',
      data: {
        labels: ['06:00', '09:00', '12:00', '15:00', '18:00', '21:00'],
        systolic: [132, 138, 135, 140, 136, 135],
        diastolic: [82, 86, 84, 88, 85, 85]
      }
    },
    bloodSugar: {
      average: 5.6,
      status: '正常范围',
      statusClass: 'status-success',
      statusIcon: 'fa fa-check-circle',
      info: '今日血糖平均值为5.6mmol/L，处于正常范围（3.9-6.1mmol/L）。',
      recommendations: '您的血糖指标正常，建议保持均衡饮食，控制碳水化合物摄入，适量运动，定期监测。',
      data: {
        labels: ['空腹', '早餐后', '午餐前', '午餐后', '晚餐前', '晚餐后'],
        values: [5.2, 6.8, 5.5, 7.1, 5.7, 6.5]
      }
    },
    oxygenLevel: {
      average: 98,
      status: '正常范围',
      statusClass: 'status-success',
      statusIcon: 'fa fa-check-circle',
      info: '今日血氧饱和度平均值为98%，处于正常范围（95-100%）。',
      recommendations: '您的血氧饱和度正常，建议保持室内空气流通，适当进行户外活动，避免长时间处于密闭环境中。',
      data: {
        labels: ['00:00', '04:00', '08:00', '12:00', '16:00', '20:00'],
        values: [97, 96, 98, 99, 98, 98]
      }
    },
    sleep: {
      average: 6.5,
      status: '不足',
      statusClass: 'status-warning',
      statusIcon: 'fa fa-exclamation-circle',
      info: '今日睡眠时长为6.5小时，低于推荐的7-8小时。深度睡眠比例偏低。',
      recommendations: '您的睡眠时长不足，建议保持规律作息，睡前1小时避免使用电子设备，营造安静舒适的睡眠环境，避免睡前饮用咖啡或浓茶。',
      data: {
        labels: ['22:00', '23:00', '00:00', '01:00', '02:00', '03:00', '04:00', '05:00', '06:00', '07:00'],
        deep: [0, 20, 40, 30, 25, 35, 20, 10, 5, 0],
        light: [0, 30, 20, 30, 40, 25, 30, 20, 10, 0],
        awake: [100, 50, 40, 40, 35, 40, 50, 70, 85, 100]
      }
    },
    steps: {
      average: 7842,
      status: '良好',
      statusClass: 'status-success',
      statusIcon: 'fa fa-check-circle',
      info: '今日共行走7842步，接近推荐的每日8000-10000步目标。',
      recommendations: '您的活动量良好，接近每日目标。建议适当增加步行时间，可以尝试在工作间隙进行短距离步行，保持全天活动的均匀性。',
      data: {
        labels: ['06:00', '08:00', '10:00', '12:00', '14:00', '16:00', '18:00', '20:00', '22:00'],
        values: [350, 1200, 850, 1500, 680, 950, 1800, 422, 100]
      }
    }
  },

  // 选项卡配置
  tabs: [
    {
      key: 'daily',
      label: '日',
      iconClass: 'fa fa-calendar-o'
    },
    {
      key: 'weekly',
      label: '周',
      iconClass: 'fa fa-calendar'
    },
    {
      key: 'monthly',
      label: '月',
      iconClass: 'fa fa-calendar-check-o'
    }
  ]
}

export default mockHealthData
